//
//  IOosObjects.h
//  oos4ios
//
//  Created by Pablo Gonzalez on 3/2/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SluggedString.h"
#import "OosObject.h"

@interface OosLocation : OosObject

/**
 Address of the service, despite of geolocalization.
 Maps to <oos:useraddress>
 */
@property (nonatomic, retain) NSString *address;
/**
 In Spain this represents cities or towns.
 Maps from <oos:locality>
 */
@property (nonatomic, retain) SluggedString *locality;
/**
 In Spain this represents districts
 Maps from <oos:dependentlocality>
 */
@property (nonatomic, retain) SluggedString *dependentLocality;
/**
 In Spain this represents neighbourhoods
 Maps from <oos:subdependentlocality>
 */
@property (nonatomic, retain) SluggedString *subDependentLocality;
/**
 In Spain this represents an Autonomus Comunity 
 but is not provided by 11870.com.
 This is here for completeness
 Should map from <oos:administrativearea>
 */
@property (nonatomic, retain) SluggedString *administrativeArea;
/**
 In Spain this represents provinces.
 Maps from <oos:subadministrativearea>
 */
@property (nonatomic, retain) SluggedString *subAdministrativeArea;
@property (nonatomic, retain) SluggedString *country;

@property (nonatomic, retain) NSNumber *latitude;
@property (nonatomic, retain) NSNumber *longitude;

@end
